package grape.workflow.rest.model.mapper;

import grape.workflow.rest.model.form.DeMedalListPageForm;
import grape.workflow.rest.model.vo.DeModelVo;
import grape.workflow.service.model.dto.DeModelDto;
import grape.workflow.service.model.query.DeModelQuery;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * Created by yangwei
 * Created at 2020/6/29 12:57
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface DeModelWebMapper {

    DeModelVo dtoToVo(DeModelDto deModelDto);

    DeModelQuery map(DeMedalListPageForm form);
}
